//
//  ScoresList.h
//  ToucheTouche
//
//  Created by polytech polytech on 12/01/12.
//  Copyright (c) 2012 polytech. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ScoresList : NSObject {
    NSString *stringScoresListWorld;
    NSString *stringScoresListLocal;
    NSString *plistPath;
    NSString *stringPathScoreWorld;
    NSString *stringPathScoreLocal;
    NSString *stringRank;
    
    NSNumber *score;
    NSDate *datetime;
}

@property (nonatomic, assign) NSString *stringScoresListWorld;
@property (nonatomic, assign) NSString *stringScoresListLocal;
@property (nonatomic, assign) NSString *stringRank;

@property (nonatomic, assign) NSNumber *score;
@property (nonatomic, assign) NSDate *datetime;

+ (ScoresList *)sharedScoresList;

- (NSString *)getStringScoresListWorld;
- (NSString *)getStringScoresListLocal;
- (NSString *)getRank;
- (NSNumber *)getScore;

- (void)setScore:(NSNumber *)score datetime:(NSDate *)datetime;
- (BOOL)addNickname:(NSString *)nickname;
- (void)loadScoreLocal;
- (void)loadScoreWorld;

@end